WcJUpsellator\WooActions A

Total Complexity 73
Dependencies 9
Dependents 1
Total lines 453
Lines of code 266
Logical lines of code 142
Comment lines 98
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
changeItemPrice()
A
48 13 30
register()
A
39 9 69
markAsUpsell()
A
52 12 21
wc_timeline_fragments()
S
48 6 32
showBeforeSingleAddToCart()
S
59 5 13
markOrderProducts()
S
64 5 9
showUpsellatorLabel()
S
53 3 28
calculateNewPrice()
S
59 4 13
calculateTotalUpsell()
S
61 4 12
wc_timeline_update_qty()
S
61 3 12
preventCouponDiscountForUpsells()
S
78 2 3
wc_timeline_remove_item()
S
68 2 7
__construct()
S
91 1 2
checkoutUpsell()
S
91 1 2
checkoutUpsellFragment()
S
82 1 3
recalculateGifts()
S
69 1 7
cartPageUpsell()
S
87 1 3